Repository navigation
feat(conformance): check shared issue forms in org-conformance - #93
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a shared issue forms check to the existing
org-conformancejob (github-workflows#88, part of github-config#132). GitHub replaces the whole organization default folder when a repository has a valid local template orconfig.ymlin.github/ISSUE_TEMPLATE, so repositories must not carry local templates and.githubmust keep the shared forms.Changes
conformance/check-issue-forms.sh: for.github, requires the 4 forms (Bug/needs-triage, Feature/needs-triage, Task/tracking, Task/follow-up) as valid single-document YAML and aconfig.ymlwithblank_issues_enabled: true. For every other repo, fails on any local issue template (.github/ISSUE_TEMPLATE/*,ISSUE_TEMPLATE/*.md,docs/ISSUE_TEMPLATE/*.md,ISSUE_TEMPLATE.mdat root,docs/or.github/).org-conformance.yml: new step in the existing job, no new job..github/tests/check-issue-forms.sh(15 fixtures) wired intotest-actions.yml, with shellcheck on both scripts.Test plan
bash .github/tests/check-issue-forms.sh: 15/15 pass.shellcheckandactionlint: pass locally.test-actionsruns the fixtures and lint.Screenshots
N/A
Risk
Intent
change, depthstandard: a localized new check with understood contracts. Once released and pinned by callers, repos that still override the forms failorg-conformanceuntil the overrides are removed: hear-the-music-tree-api#272, grow-the-music-tree-frontend#613, audiometa#130. Callers keep their current pin until they opt in, so nothing fails before the pin update.How to revert
Revert the squash merge; callers pinned to the release are unaffected until they update their pin.
Deployment notes
Merging a
featPR starts a minor release through release-please (auto-merged). Pin updates in consumers, and removal of the three overrides, are a separate step after approval of the release proposal (github-workflows#89).🤖 Generated with Claude Code